<?php
	class Channel {
		private $id;
		private $name;
		private $users;

		public function __construct($id, $name, $users = 0) {
			$this->id = $id;
			$this->name = $name;
			$this->users = $users;
		}

		public function getId() {
			return $this->id;
		}

		public function getName() {
			return $this->name;
		}

		public function getUsers() {
			return $this->users;
		}
	}
        
        class ChannelUser {
                private $pid;
                private $name;

                public function __construct($id, $name) {
                            $this->id = $id;
                            $this->name = $name;
                }

                public function getId() {
                        return $this->id;
                }

                public function getName() {
                        return $this->name;
                }
        }
?>
